package org.dromara.tearoom.domain.bo;

import org.dromara.tearoom.domain.TerLockSerialnum;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 门锁配置序号业务对象 ter_lock_serialnum
 *
 * @author xch
 * @date 2025-03-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TerLockSerialnum.class, reverseConvertGenerate = false)
public class TerLockSerialnumBo extends BaseEntity {

    /**
     * 茶室id
     */
    @NotNull(message = "茶室id不能为空", groups = { EditGroup.class })
    private Long teroomId;

    /**
     * 茶室名称
     */
    @NotBlank(message = "茶室名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String teroomName;

    /**
     * 代理商号
     */
    private String aid;

    /**
     * 系统标识号
     */
    private String hid;

    /**
     * 主区号
     */
    private String rid;

    /**
     * 片区号
     */
    private String srid;

    /**
     * 房间号
     */
    private String lid;

    /**
     * 删除标识
     */
    private String delFlag;
}
